Skip to content

Conversation

chadparry
Copy link

This implementation guards against overflow by ensuring that the seeded counter starts off with the most significant bit cleared. It also doesn't use UUIDUtil.constructUUID, which discards some of the entropy bits, leading to duplicated UUIDs.

@chadparry
Copy link
Author

Feel free to change this to match your style or reject it. :)

@cowtowncoder
Copy link
Owner

Ok thanks! Looks like I need to read this with some thought, due to changes.

Happy New Year & thank you again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants